const request = require('../libs/request.js');
const articleService = {
  //文章列表
  getArticleList: (data) => {
    return request({
      url: "/paper/list",
      data: data
    });
  },
  //文章详情
  getArticleDetail: (data) => {
    return request({
      url: "/paper/detail",
      data: data
    });
  },
  //文章点赞
  getArticleCheckLike: (data) => {
    return request({
      url: "/paper/checkLike",
      data: data
    });
  },
  //文章推荐
  getArticleRecommend: (data) => {
    return request({
      url: "/paper/recommend",
      data: data
    });
  },
}
module.exports = articleService;